package com.rf.richfitwheel.dyn.business.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.rf.richfitwheel.workflow.entity.WfTaskParam;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@JsonIgnoreProperties(ignoreUnknown = true)
public class BusinessDynamicParam implements Serializable {
    /**
     * 数据ID
     */
    private String id;

    /**
     * 暂存或提交：0-暂存、1-提交
     */
    private String submit;
    /**
     * 表单设计ID
     */
    private String designerId;
    /**
     * 表单设计编码
     */
    private String designerCode;
    /**
     * 主表数据
     */
    private Map<String, Object> main;
    /**
     * 子表数据
     */
    private Map<String, List<Map<String, Object>>> sub;
    /**
     * 流程参数
     */
    private WfTaskParam taskParam;

    private List<SysFormDesignerApi> apiList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSubmit() {
        return submit;
    }

    public void setSubmit(String submit) {
        this.submit = submit;
    }

    public String getDesignerId() {
        return designerId;
    }

    public void setDesignerId(String designerId) {
        this.designerId = designerId;
    }

    public String getDesignerCode() {
        return designerCode;
    }

    public void setDesignerCode(String designerCode) {
        this.designerCode = designerCode;
    }

    public Map<String, Object> getMain() {
        return main;
    }

    public void setMain(Map<String, Object> main) {
        this.main = main;
    }

    public Map<String, List<Map<String, Object>>> getSub() {
        return sub;
    }

    public void setSub(Map<String, List<Map<String, Object>>> sub) {
        this.sub = sub;
    }

    public WfTaskParam getTaskParam() {
        return taskParam;
    }

    public void setTaskParam(WfTaskParam taskParam) {
        this.taskParam = taskParam;
    }

    public List<SysFormDesignerApi> getApiList() {
        return apiList;
    }

    public void setApiList(List<SysFormDesignerApi> apiList) {
        this.apiList = apiList;
    }
}
